<!DOCTYPE html>

<html lang="en">

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
		<title>学员成绩</title>
		<link rel="stylesheet" href="../../lib/layui/css/layui.css" />
		<link rel="stylesheet" href="../canc-userAll/css/canc-userManagement.css" />
		<!--<link rel="stylesheet" type="text/css" href="../../static/css/weadmin.css"/>-->
		<!--<link rel="stylesheet" type="text/css" href="../../lib/layui/css/scroll-bar.css"/>-->
		<style>
			body {
				padding: 20px;
				overflow-y: scroll;
			}
			
			.layui-inline {
				margin-bottom: 10px;
			}
			
			.select-jilian {
				width: 254px;
				z-index: 10000000000;
				color: rgba('117, 117, 139');
			}
		</style>

	</head>

	<body style="height:100%;">

		<div class="layui-tab userWrap layui-container" style="width: 100%;">
			<ul class="layui-tab-title">
				<li class="layui-this ldh" style="font-size:24px">学员成绩列表</li>
			</ul>
			<div class="layui-row">
				<div class="layui-col-lg3">
					<div class="layui-inline">分数段:</div>
					<div class="layui-inline">
						<input type="text" name="name" autocomplete="off" placeholder="请输入分数段" class="layui-input name">
					</div>
					<div class="layui-inline">练习编号</div>
					<div class="layui-inline">
						<input type="text" name="name" autocomplete="off" placeholder="请输入练习编号" class="layui-input name">
						
					</div>
				</div>
				
				
				<div class="layui-col-lg3">
					<div class="layui-inline">成绩排序</div>
					<div class="layui-inline">
						<select class="layui-input shenHe select-jilian" name="shenHe">
							<option value="">请选择排序方式</option>
							<option value="0" selected>升序</option>
							<option value="1">降序</option>
						</select>
					</div>
					
					<div class="layui-inline">起始日期</div>
					<div class="layui-inline">
						<input type="text" name="startTime" autocomplete="off" placeholder="请选择起始日期" class="layui-input startTime">
						
					</div>
				</div>
				<div class="layui-col-lg3">
					<div class="layui-inline">结束日期 </div>
					<div class="layui-inline">
						<input type="text" name="endTime" autocomplete="off" placeholder="请选择结束日期 " class="layui-input endTime">
						
					</div>
				</div>

			</div>
			<div class="layui-show-lg-block">
				<button class="layui-btn startSearch" lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i>获取成绩</button>
			</div>
		</div>
		<script type="text/html" class="toolbarDemo">
			<div class="layui-btn-container">
				<button class="layui-btn layui-btn-sm layui-btn-normal" lay-event="isAll" style="font-size:24px!important;">成绩列表:</button>
			</div>
		</script>

		<table id="stuTest" lay-filter="stuTest"></table>

		<script type="text/html" id="barDemo">
			<a class="layui-btn layui-btn-xs  operation obj" onclick="jumpExerciseNumber('学员统计图','scoreDetailEcharts.html')">成绩详情</a>
		</script>
		<script type="text/html" id="usernameTpl">
			<a href="" class="layui-table-link">{{d.username || ''}}</a>
		</script>

		<script type="text/html" id="switchTpl">
			<input type="checkbox" name="yyy" lay-skin="switch" lay-text="女|男">
		</script>

		<script type="text/html" id="checkboxTpl">
			<input type="checkbox" name="" title="锁定" checked>
		</script>

		<script type="text/html" id="LAY_table_tpl_email">
			<span {{# if(!d.activate){ }}style="color:#999" {{# } }}>{{ d.email }}</span>
		</script>
		<script src="../../static/js/jquery.1.11.1.js"></script>
		<script src="../../lib/layui/layui.js" charset="utf-8"></script>
		<script src="../../static/js/weadmin.js"></script>
		<script src="../../static/js/admin.js"></script>
		<script src="../../static/js/public.js"></script>
		<script src="js/studentScore.js"></script>
		<!--<script src="../../lib/layui/lay/modules/laypage.js"></script>-->
		<script>
			function jumpExerciseNumber(title, url, w, h) {
				if(title == null || title == '') {
					title = false;
				};
				if(url == null || url == '') {
					url = "404.html";
				};
				if(w == null || w == '') {
					w = ($(window).width() * 0.9);
				};
				if(h == null || h == '') {
					h = ($(window).height() - 50);
				};
				layer.open({
					type: 2,
					area: [w + 'px', h + 'px'],
					fix: true,
					maxmin: false,
					shade: 0.4,
					title: title,
					content: url,
					move: false,
					success: function(layero, index) {
						var body = layer.getChildFrame('body', index);
						var iframeWin = window[layero.find('iframe')[0]['name']]; //得到iframe页的窗口对象，执行iframe页的方法：iframeWin.method();
						console.log(body.html()) //得到iframe页的body内容
						//						此处执行子页面的方法
						iframeWin.alertgood('北京');
						body.find('input').val('Hi，我是从父页来的')
					}
				});

			}
		</script>

	</body>

</html>